package me.zhengjie.modules.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.modules.account.domain.AccountAa03;
import me.zhengjie.modules.account.domain.AccountAc50;
import me.zhengjie.modules.account.factory.entity.InterestRate;
import me.zhengjie.modules.account.factory.vo.AnnualConversionTransverse;
import me.zhengjie.tool.MyMap;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 个人账户工具类接口
 */
public interface AccountService{
    /**
     * 计息
     * @param businessMap
     * @return
     */
    MyMap saveInterest(MyMap businessMap) throws IOException;
    MyMap print(MyMap businessMap);

    MyMap saveInterest2(MyMap businessMap);

    /**
     * 终止账户
     * @param businessMap
     * @return
     */
    boolean terminationAccount(MyMap businessMap);

    /**
     * 终止参保
     * @param businessMap
     * @return
     */
    boolean terminationBasic(MyMap businessMap);

    /**
     * 终止参保撤销
     * @param businessMap
     * @return
     */
    boolean terminationBasicRevoke(MyMap businessMap);

    /**
     * 终止账户撤销
     * @param businessMap
     * @return
     */
    boolean terminationAccountRevoke(MyMap businessMap);

}
